package com.xd.user.api.feign;


import com.xd.common.base.BaseFeign;
import com.xd.common.constant.ServiceConstant;
import com.xd.user.api.entity.Permission;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author 15290
 */
@FeignClient(value = ServiceConstant.USER_SERVICE, path = "permission")
public interface PermissionFeign extends BaseFeign<Permission, String> {



    /**
     * @author huboxin
     * @description: TODO  获取权限所要拦截的paths
     * @date 10:14 2020/7/30
     * @return java.util.List<java.lang.String>
     **/
    @GetMapping("selectPermissionPaths")
    List<String> selectPermissionPaths();

}
